package com.ruoyi.production.mapper.greenhousefilm;

import java.util.List;
import com.ruoyi.common.annotation.PropertyInject;
import com.ruoyi.common.enums.InjectType;
import com.ruoyi.production.domain.greenhousefilm.GreenhousefilmApply;

/**
 * 棚膜申请Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-11
 */
public interface GreenhousefilmApplyMapper
{
    /**
     * 查询棚膜申请
     *
     * @param greenhousefilmApplyId 棚膜申请ID
     * @return 棚膜申请
     */
    public GreenhousefilmApply selectGreenhousefilmApplyById(Long greenhousefilmApplyId);

    /**
     * 查询棚膜申请列表
     *
     * @param greenhousefilmApply 棚膜申请
     * @return 棚膜申请集合
     */
    public List<GreenhousefilmApply> selectGreenhousefilmApplyList(GreenhousefilmApply greenhousefilmApply);

    /**
     * 新增棚膜申请
     *
     * @param greenhousefilmApply 棚膜申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Insert)
    public int insertGreenhousefilmApply(GreenhousefilmApply greenhousefilmApply);

    /**
     * 修改棚膜申请
     *
     * @param greenhousefilmApply 棚膜申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Update)
    public int updateGreenhousefilmApply(GreenhousefilmApply greenhousefilmApply);

    /**
     * 删除棚膜申请
     *
     * @param greenhousefilmApplyId 棚膜申请ID
     * @return 结果
     */
    public int deleteGreenhousefilmApplyById(Long greenhousefilmApplyId);

    /**
     * 批量删除棚膜申请
     *
     * @param greenhousefilmApplyIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteGreenhousefilmApplyByIds(Long[] greenhousefilmApplyIds);
}
